package com.ruoyi.withdraw.mapper;

import java.util.List;
import com.ruoyi.withdraw.domain.DistributionWithdraw;

/**
 * 提现申请Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-11
 */
public interface DistributionWithdrawMapper 
{
    /**
     * 查询提现申请
     * 
     * @param withdrawId 提现申请主键
     * @return 提现申请
     */
    public DistributionWithdraw selectDistributionWithdrawByWithdrawId(Long withdrawId);

    /**
     * 查询提现申请列表
     * 
     * @param distributionWithdraw 提现申请
     * @return 提现申请集合
     */
    public List<DistributionWithdraw> selectDistributionWithdrawList(DistributionWithdraw distributionWithdraw);

    /**
     * 新增提现申请
     * 
     * @param distributionWithdraw 提现申请
     * @return 结果
     */
    public int insertDistributionWithdraw(DistributionWithdraw distributionWithdraw);

    /**
     * 修改提现申请
     * 
     * @param distributionWithdraw 提现申请
     * @return 结果
     */
    public int updateDistributionWithdraw(DistributionWithdraw distributionWithdraw);

    /**
     * 删除提现申请
     * 
     * @param withdrawId 提现申请主键
     * @return 结果
     */
    public int deleteDistributionWithdrawByWithdrawId(Long withdrawId);

    /**
     * 批量删除提现申请
     * 
     * @param withdrawIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDistributionWithdrawByWithdrawIds(Long[] withdrawIds);
}
